
.left_sidebar_box {
  width: $left_menu_width;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  box-sizing: border-box;
  z-index: 10;

  .logo_box {
    width: $left_menu_width;
    height: $header_height;
    @include flexLayout;

    img {
      width: auto;
      height: calc($tag_height - 15px);
    }
  }

  .left_sidebar_item {
    @include flexLayout;
    flex-direction: column;
    font-size: 12px;
    overflow: auto;
    color: var(--el-color-info);
    padding: 8px 0;
    margin: 0 auto 5px;

    .item_text {
      width: $left_menu_width;
      text-align: center;
      text-overflow: ellipsis;
      overflow: hidden;
      white-space: nowrap;
      margin-top: 5px;
    }

    .el-icon, .menu_icon {
      font-size: 16px;
    }

    &__active {
      background: var(--el-color-primary);
      color: #ffffff !important;
      cursor: pointer;
      transition: all 0.3s;
      border-radius: 10px;
      width: 90%;
    }

    &:hover {
      color: var(--el-color-primary);
      cursor: pointer;
    }
  }
}

.right_sidebar_box {
  height: 100%;
  overflow: auto;
  position: absolute;
  left: $right_menu_width;
  top: 0;
  transition: all 0.3s;
  box-sizing: border-box;
  padding: 0 15px;


  .logo_text {
    height: $header_height;
    width: 94%;
    font-size: 14px;
    color: var(--el-color-info);
    line-height: 50px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    @include flexLayout;

    img {
      width: auto;
      height: calc($header_height - 15px);
    }
  }

  .scrollbar_sidebar {
    user-select: none;
    position: relative;
    box-sizing: border-box;
    font-size: 12px !important;
    height: calc(100% - $header_height);

    .el-scrollbar__view {
      border: none;
    }

    .el-menu {
      border-right: none !important;
    }

    .el-sub-menu {
      border-radius: 5px;
      margin-bottom: 5px;
    }

    .el-menu-item,.el-sub-menu__title{
      height: 45px;
      position: relative;
      border-radius: 5px;
      margin-bottom: 5px;

      .menu_icon {
        margin-right: 10px;
        width: 15px;
        height: 15px;
      }

      .menu_icon,
      span {
        color: var(--el-color-info);
      }
      &:hover{
        background-color: var(--el-color-primary-light-5);
        .menu_icon, span {
          color: var(--el-color-primary);
        }
      }
      &.is-active  {
        background-color: var(--el-color-primary-light-9);
        .menu_icon, span {
          color: var(--el-color-primary);
        }
      }



    }
  }
}

